package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 培训班教师对象 danmo_training_teacher
 *
 * @author yangle
 * @date 2024-11-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoTrainingTeacher extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 教师表主键
     */
    private Long id;

    /**
     * 培训班详情id
     */
    @Excel(name = "培训班详情id")
    private Long danmoTrainingInformationId;

    /**
     * 教师照片
     */
    @Excel(name = "教师照片")
    private String picture;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 教师简介
     */
    @Excel(name = "教师简介")
    private String teacherIntroduced;

    /**
     * 教师作品图片
     * @return
     */
    private List<DanmoTrainingTeacherPicture> danmoTrainingTeacherPictureList;

    /**
     * 教师培训类型对象
     * @return
     */
    private List<DanmoTrainingTeacherType> danmoTrainingTeacherTypeList;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("danmoTrainingInformationId", getDanmoTrainingInformationId())
                .append("picture", getPicture())
                .append("name", getName())
                .append("teacherIntroduced", getTeacherIntroduced())
                .toString();
    }
}
